import request from '@/utils/request'

export function getSettings (params) {
  return request({
    url: '/set/get',
    method: 'get',
    params
  })
}
export function addSetting (params) {
  return request({
    url: '/set/add',
    method: 'post',
    params
  })
}
export function disableSetting (params) {
  console.log(params);
  return request({
    url: '/set/disable',
    method: 'post',
    params
  })
}
